The pylorus is the sphincter muscle which serves as the valve controlling the lower opening of the |stomach|, where it empties into the |duodenum|. The pylorus only allows the food through after it has been properly processed by the digestive juices of the |stomach|. Once through the pylorus, the food is only partially digested. Further digestion takes place in the upper portion of the |small intestine| called the |duodenum|.